﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BuXiaChu.OrderDishes.Model;
using BuXiaChu.OrderDishes.BLL;

namespace BuXiaChu.OrderDishes.Web.CallCenter
{
    public partial class Index : System.Web.UI.Page
    {
        protected List<AreaModel> areaList = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            InitData();
        }

        private void InitData()
        {
            areaList = AreaManager.GetListByParentId(10);
            sel_Area.Items.Add(new ListItem("--请选择--", "-1"));
            foreach (var item in areaList)
            {
                sel_Area.Items.Add(new ListItem(item.Name, item.Id.ToString()));
            }
        }
    }
}
